/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

html{
    -webkit-text-size-adjust:100%;
    -ms-text-size-adjust:100%;
    text-size-adjust:100%;
}

body {
    background: #f4f4f4;
    font-family: "微软雅黑";
}

.displayNone{
    display: none;
}

a {
    color: #00e;
}

a:visited {
    color: #551a8b;
}

a:hover {
    color: #06e;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.text-right{
    text-align: right;
}

/*
 * Allow only vertical resizing of textareas.
 */
button, .button{
    background:#FF6600;
}

button:hover, button:focus, .button:hover, .button:focus{
    background:#ff8700;
}

.top-bar{
    background:#e8eae9;
    background: -webkit-gradient(linear,center top,center bottom,from(#fff), to(#e8eae9)),
    -webkit-linear-gradient(left,#fff,#e8eae9);
    background-image:linear-gradient(to bottom,#fff,#e8eae9);
}

.contain-to-grid{
    background-image: linear-gradient(to bottom,#fff,#e8eae9);
    background-color: #e8eae9;
    -moz-box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 1px 1px 2px rgba(0, 0, 0, 1);
    box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1); ;
}

textarea {
    resize: vertical;
}

/* ==========================================================================
   自定义样式部分
   ========================================================================== */

.main-box{
    font-family:"微软雅黑";
}


.navHeader{
    padding: 0.5em 1em;
    height: 2.7em;
    font-size:1em;
    position: relative;
    text-align: center;
    background: -webkit-gradient(linear,center top,center bottom,from(#fff), to(#e8eae9)),
    -webkit-linear-gradient(left,#fff,#e8eae9);
    background-image:linear-gradient(to bottom,#fff,#e8eae9);
}

.navHeader .backBtn{
    height: 2.7em;
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    width: 4em;
    background: url("../images/return.png") no-repeat left center;
    text-indent: -9999px;
    background-size: 2.2em 1.5em;
}

.navHeader label{
    font-size:1em;
    color: #6d6d6d;
    width: 60%;
    margin: 0 auto;
}

.main-box .small-3 label{
    text-align: right;
}
.main-box .contain-to-grid{
    border-bottom: 1px solid #cfcfcf;
    background:#e8eae9;
    background: -webkit-gradient(linear,center top,center bottom,from(#fff), to(#e8eae9)),
    -webkit-linear-gradient(left,#fff,#e8eae9);
    background-image:linear-gradient(to bottom,#fff,#e8eae9);
}

.main-content{
    margin-top:0.5em;
}

.main-content .login-form-text
{
    margin-bottom: 0;
    height: 2.6rem;
    border-top-left-radius: 0.4em;
    border-top-right-radius: 0.4em;
    box-shadow:none;
}

.main-content .login-form-gray{
    margin-bottom: 0;
    height: 2.6rem;
    border:none;
    box-shadow:none;
}

.main-content .regFormList .form-box{
    border-top: 1px solid #bfbfbf;
    border-left: 1px solid #bfbfbf;
    border-right: 1px solid #bfbfbf;
}


.main-content .regFormList .form-box{
    background: #ffffff;
}

.main-content .regFormList .form-box:nth-of-type(1){
    border-top-left-radius: 0.6em;
    border-top-right-radius: 0.6em;

}

.main-content .regFormList .time{
    background: #999999;
    border-radius: 0.3em;
    width: 5em;
    height: 2.1em;
    line-height: 2.1em;
    display: inline-block;
    margin:0.3em 0 0 0;
    float: right;
    text-align: center;
    color: #fff;
}

.main-content .regFormList .form-box:nth-of-type(4){
    border-bottom: 1px solid #bfbfbf;
    margin-bottom: 1em;
    border-bottom-left-radius: 0.6em;
    border-bottom-right-radius: 0.6em;
}

.main-content .login-form-password{
    border-top: none;
    border-bottom-left-radius: 0.4em;
    border-bottom-right-radius: 0.4em;
    margin-bottom: 1em;
    height: 2.6rem;

}

.sub-button-login{
    border-radius: 0.4em;
    font-weight: bold !important;
    font-size: 1em;
    background:#FF6600;
    padding: 0.7em 0;
    margin-bottom:0.3em;
}

.sub-button-login:hover{
    background:#ff8700;
}

.reg-btn-box a{
    color: #2d6af8;
    text-decoration:none;
    font-size: 1em;
    font-weight: normal;
}

.tips-box{
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    font-size: 0.9em;
}

.tips-box strong{
    color: #e76e11;
    display: inline-block;
    padding: 0 0 0 .2em;
}

.toastStyle{
    position: absolute;
    background-color : rgba(0,0,0,0.8);
    color:#fff;
    font-size:0.9em;
    padding:0.8em 0.7em;
    margin:0.8em;
    border-radius:0.3em;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/* Prevent callout */

.eclipsis{
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.nocallout {
    -webkit-touch-callout: none;
}

.pressed {
    background-color: rgba(0, 0, 0, 0.7);
}

/* A hack for HTML5 contenteditable attribute on mobile */

textarea[contenteditable] {
    -webkit-appearance: none;
}

/* A workaround for S60 3.x and 5.0 devices which do not animated gif images if
   they have been set as display: none */

.gifhidden {
    position: absolute;
    left: -100%;
}

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    background-repeat: no-repeat;
    border: 0;
    direction: ltr;
    display: block;
    overflow: hidden;
    text-align: left;
    text-indent: -999em;
}

.ir br {
    display: none;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/**
 * Clearfix helper
 * Used to contain floats: h5bp.com/q
 */

.clearfix:before,
.clearfix:after {
    content: "";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */